Yahoo!
Groups Home - Yahoo! - Help



Welcome, Guest Register - Sign In 
tpmathlib · This mailing list is devoted to the development and use of TP Math, a free mathematical library in Pascal. [ Join This Group! ]
  Home  
* Messages  
  Chat  
  Files  
  Photos  
  Links  
  Database  
  Polls  
  Members  
  Calendar  
 
 
  Promote  
 
 
  owner = Owner 
  moderator = Moderator 
  online = Online 
 
 
 Messages Messages Help
Reply | Forward | View Source | Unwrap Lines
 
  Message 87 of 95  |  Previous | Next  [ Up Thread ] Message Index
 
 Msg #
From:  "Jean Debord" <debord.jean@w...>
Date:  Tue Aug 6, 2002  2:27 pm
Subject:  Re: Marquardt Non-linear regression?!?

ADVERTISEMENT

Hello,

> I would also like to get an estimation of the standard-error on each
of the fittet parameters. I suspect the values in the hessian matrix
can be used for this, however I'm not quite sure how to go about
this. Any help would be apreciated..

For nonlinear regression I recommend using the functions NLFit, then RegTest
(or for weighted regression, WNLFit and WRegTest) from the REGRESS unit.
(or WLSFit from the MODELS unit if you are using one of the predefined
regression models).

RegTest or WLSFit will return the updated variance-covariance matrix V (V =
Vr * H_inv, where Vr is the residual variance and H_inv the inverse
hessian). The estimated error of the I-th parameter is therefore
Sqrt(V[I,I])

If you use Marquardt only, you get H_inv but you need an independent
subroutine to compute Vr:
Vr = Sum(Y[I] - Ycalc[I])^2 / (N - M)
where N is the number of data points and M the number of fitted parameters.

Best regards,

Jean Debord
Limoges, France




  Replies Name/Email Yahoo! ID Date Size
91 Re: Marquardt Non-linear regression?!? jespersp   Tue  8/13/2002   3 KB
92 Re: Marquardt Non-linear regression?!? jespersp   Tue  8/13/2002   2 KB

  Message 87 of 95  |  Previous | Next  [ Up Thread ] Message Index
 
 Msg #
Reply | Forward | View Source | Unwrap Lines


Copyright © 2002 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help